{{partial('public/header')}}
<div class="midder">
<div class="mc">
    <h1>{{seo.title}}</h1>
    <div class="cleft w700">
		
        <div class="group-list">
        	{% for item in arrGroup %}
            <div class="result">
                <div class="pic">
                <a title="{{item['groupname']}}" href="{{url('group/show/'~item['groupid'])}}" class="nbg">
                	<img src="{{item['icon_48']}}" alt="{{item['groupname']}}" width="48" height="48">
                </a>
                </div>
                <div class="content">
                    <div class="title">
                        <h3><a href="{{url('group/show/'~item['groupid'])}}">{{item['groupname']}}</a></h3>
                    </div>
                    <div class="info">{{item['count_user']}} 个成员 在此聚集 </div>
                    <div></div>
                    {% if item['joinway']==0 and !item['isGroupUser']%}
                    	{% if !visitor %}
                    	<div class="join"><a class="i a_show_login lnk-join" href="{{url('group/manage/join/'~item['groupid'])}}"><i>+</i>加入小组</a></div>
                    	{% else %}
                    	<div class="join"><a class="lnk-join" href="{{url('group/manage/join/'~item['groupid'])}}"><i>+</i>加入小组</a></div>                        
                        {% endif %}
                    {% else %}
                    	<div class="join"><span class="joined">√已加入</span></div>
                    {% endif %}
                </div>
            </div>
            {% endfor %}
            
            {% if !arrGroup %}
				<p class="no-result">这个类别下还没创建小组呢，你可以换个类别再试试；或者 <a href="{{url('group/manage/create')}}">开始创建小组&gt;&gt;</a></p>
            {% endif %}
        </div>
        
        <div class="clear"></div>
        <div class="page">{{pageUrl}}</div>

    </div>



    <div class="cright w250">
		 {{partial('explore/group_cate')}}	
    </div>
    
</div>
</div>
